package com.lagou.ipersistence.reflection;

import com.lagou.ipersistence.reflection.factory.DefaultObjectFactory;
import com.lagou.ipersistence.reflection.factory.ObjectFactory;
import com.lagou.ipersistence.reflection.wrapper.DefaultObjectWrapperFactory;
import com.lagou.ipersistence.reflection.wrapper.ObjectWrapperFactory;

/**
 * @author Yan Jiahong
 * Created on 2020/11/22
 */
public class SystemMetaObject {
    public static final ObjectFactory DEFAULT_OBJECT_FACTORY = new DefaultObjectFactory();

    public static final ObjectWrapperFactory DEFAULT_OBJECT_WRAPPER_FACTORY = new DefaultObjectWrapperFactory();

    public static final MetaObject NULL_META_OBJECT = MetaObject.froObject(NullObject.class, DEFAULT_OBJECT_FACTORY,
            DEFAULT_OBJECT_WRAPPER_FACTORY, new DefaultReflectorFactory());

    public static class NullObject { }
}
